package com.simple.create.factory.sample5;

/**
 * 券的类型
 *
 * @author simple
 * @version 1.0
 * @date 2018/12/5 09:33
 * @since 1.0
 */
public enum CouponType {
    /**
     * 金额券
     */
    AMOUNT("01", "金额券"),
    /**
     * 计次券
     */
    COUNT("02", "计次券"),
    ;
    private String code;
    private String msg;

    CouponType(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
